:root {
    --size: 100px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-image:radial-gradient(circle at center center, #ffff,rgb(0, 0, 0)), radial-gradient(2em 2.5em at 18% 30%,#fff4 15%,#fff0);
    -webkit-tap-highlight-color: transparent !important;
  }

  .ball {
    width: var(--size);
    height: var(--size);
    position: absolute;
    background: linear-gradient(315deg, #FBAB7E 10%, #F7CE68 90%);
    border-radius: 50%;
    box-shadow: 0px 1px 15px rgba(252, 194, 36, 0.5);
    left: 50%;
    top: 50%;
    animation: respiratory 3s linear infinite;

    
  }

  #box{
    position: absolute;
    left: 50%;
    top: 50%;
    animation: rote 3s linear infinite;
  }
 

/* 设置每个球的位置 */
.ball:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translate(120px, 0) rotate(-0deg);
  
  }
  .ball:nth-child(2) {
    transform: translate(-50%, -50%) rotate(51deg) translate(120px, 0) rotate(-51.4285714286deg);
  }
  .ball:nth-child(3) {
    transform: translate(-50%, -50%) rotate(102deg) translate(120px, 0) rotate(-102.8571428571deg);
  }
  .ball:nth-child(4) {
    transform: translate(-50%, -50%) rotate(154deg) translate(120px, 0) rotate(-154.2857142857deg);
  }
  .ball:nth-child(5) {
    transform: translate(-50%, -50%) rotate(205deg) translate(120px, 0) rotate(-205.7142857143deg);
  }
  .ball:nth-child(6) {
    transform: translate(-50%, -50%) rotate(257deg) translate(120px, 0) rotate(-257.1428571429deg);
  }
  .ball:nth-child(7) {
    transform: translate(-50%, -50%) rotate(308deg) translate(120px, 0) rotate(-308.5714285714deg);
  }
  #star{
    position: absolute;
    top: 0;
    left: 0;
    
  }


  .ball::before {
    content: '';
    display: block;
    background: radial-gradient(1.8em 2em at 28% 18%, #fff6 15%, #fff0),
                 radial-gradient(2em 2.5em at 18% 30%, #fff4 15%, #fff0),
                 radial-gradient(100% 100% at 50% 33%, #0000 25%, #0002 52%);
    border-radius: 50%;
    box-shadow: 0 0 0.3em 0.1em #0003 inset;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }


  @keyframes respiratory {
    0%,10%,100%{
       box-shadow: 0px 1px 15px rgba(252, 194, 36, 0.5);
     
    }
    60%{
      box-shadow: 1px 2px 60px rgb(240, 214, 121);
   
    }
  }

  @keyframes rote {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
    
  }